﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace Juli.Mes.Stoves
{
    [Table("Stoves")]
    public class Stove : FullAuditedEntity<Guid>
    {
        [MaxLength(MesConsts.MaxCodeLength)]
        public string StoveCode { get; set; }

        [MaxLength(MesConsts.MaxNameLength)]
        public string StoveName { get; set; }

        [MaxLength(MesConsts.MaxDesLength)]
        public string Description { get; set; }

        [MaxLength(MesConsts.MaxCodeLength)]
        public string Rfid { get; set; }

        [MaxLength(MesConsts.MaxDesLength)]
        public string Location { get; set; }
    }
}
